package com.swsc.solarverse.service.forward;

import com.swsc.solarverse.common.mybatis.MybatisService;
import com.swsc.solarverse.dao.entity.forward.ForwardInverterDataDO;
import com.swsc.solarverse.model.StationGenerationPowerBO;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2022-08-24
 */
public interface IForwardInverterDataService extends MybatisService<ForwardInverterDataDO> {
    void saveOrUpdateDos(List<ForwardInverterDataDO> dataDos);
    void updateDos(List<ForwardInverterDataDO> dataDos);
    /**
     * 发电量
     * @param tenantNo
     * @param organNo
     * @return
     */
    StationGenerationPowerBO generationPower(Integer tenantNo, Integer organNo, LocalDateTime dataTimeStart, LocalDateTime dataTimeEnd);

    void insertOrUpdateBatch(List<ForwardInverterDataDO> list);
}
